package cn.wolfcode.edu.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtil {
    public static boolean compare(String time){
        Date date = new Date();
        SimpleDateFormat formatter=new SimpleDateFormat("HH:mm:ss");
        String format = formatter.format(date);
        return  time.compareTo(format) == 1 ? true : false;
    }
}
